package com.example.feign;

import com.example.feign.hystrix.CustomerFeignhHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "rent-car-service",fallback = CustomerFeignhHystrix.class)
public interface CustomerFeign {

    @GetMapping("rent")
    public String rent();
}
